package com.whp.yky.yky.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zwq
 * @since 2021-03-02
 */

@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    List<Notice> getNoticeInfo(IPage<Notice> page);

    Notice getNoticeDetailInfo(Integer id);

    int insertNoticeDetailInfo(Notice notice);

    int saveNoticeDetailInfo(Notice notice);

    List<Notice> getNoticeList();
}
